package com.zkt.subject.domain.convert;

import com.zkt.subject.infra.entity.SubjectAnswerBO;
import com.zkt.subject.infra.basic.entity.SubjectRadio;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author 赵开泰
 * @program jc-club
 * @date 2024/10/6
 * @description 单选题目的实体类型转换器
 **/

@Mapper
public interface SubjectRadioConverter {
	
	SubjectRadioConverter INSTANCE = Mappers.getMapper(SubjectRadioConverter.class);
	
	SubjectRadio convertBoToRadio(SubjectAnswerBO subjectAnswerBO);
	
	List<SubjectAnswerBO> convertListRadioToBo(List<SubjectRadio> subjectRadioList);
}
